package com.zwps.biz.dal.db.object;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zwps.biz.api.model.vo.fourpipes.PubCommonFileVO;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 管理机构表
 * @TableName t_institution
 */
@TableName(value ="t_institution")
@Data
public class TInstitutionDO implements Serializable {
    /**
     * 机构主键id
     */
    @TableId(value = "institution_id", type = IdType.AUTO)
    private Integer institutionId;

    /**
     * 管理机构名称
     */
    @TableField(value = "institution_name")
    private String institutionName;

    /**
     * 监管部门
     */
    @TableField(value = "dept_name")
    private String deptName;

    /**
     * 管理机构文件
     */
    @TableField(value = "institution_file")
    private String institutionFile;

    /**
     * 监管部门文件
     */
    @TableField(value = "dept_file")
    private String deptFile;

    /**
     * 简介内容
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    @TableField(exist = false)
    private List<PubCommonFileVO>  files;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}